import React from 'react'
import {
	StyleSheet,
	Image
} from 'react-native'
import {
	StackNavigator
} from 'react-navigation'

import * as publicParams from './public'

//城市选择器
import CityChoose from '../../components/CityChoose/citychoose';
//消息页面接口
const MessageTabs = StackNavigator({
	List: {
		screen: CityChoose,
	},
	Detail: {
		screen: publicParams.DetailScreen,
	}
});
MessageTabs.navigationOptions = {
	title: '消息',
	tabBarLabel: '消息',
	tabBarIcon: ({
		tintColor,
		focused
	}) => (
		<Image
        source={focused ? require('../../static/Image/bottombtn0202.png') : require('../../static/Image/bottombtn0201.png')}
        style={[styles.icon, {tintColor: tintColor}]}
      />
	),
}
const styles = StyleSheet.create({
	icon: {
		width: 26,
		height: 26,
	}
});
export default MessageTabs